﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Com.LongER.Framework.Utils.LogUtils;
using Com.LongER.Framework.Utils;

public partial class Site : System.Web.UI.MasterPage
{
    private Log log = Log.GetInstance();

    protected void Page_Load(object sender, EventArgs e)
    {
        log.Info("MasterPage Page_Load.");
        try
        {
            if (Session["LoginInfo"] != null)
            {
                LoginInfo LoginInfo = (LoginInfo)Session["LoginInfo"];
                this.lblUser.Text = LoginInfo.USERID_HANZI;
                this.lblRule.Text = LoginInfo.ZHIWEI;
                this.lblDepartment.Text = LoginInfo.BUMEN;
            }
        }
        catch (HttpException ex)
        {
            log.Error(ex.ToString());
        }

    }

}
